package com.zl;

import org.junit.Test;

public class debugTest {
    public static void main(String[] args) {
        int a = 10;
        int b = 100;
        System.out.println("a =" + a + ";b ="+b);
        b = a;
        a = b;
        System.out.println("a =" + a + ";b ="+b);
    }
    @Test
    public  void bugDemo1(){
        int a = 10;
        int b = 100;
        System.out.println("a =" + a + ";b ="+b);
        b = a;
        a = b;
        System.out.println("a =" + a + ";b ="+b);
    }
    @Test
    public void getCustomerInfo() {
        Base l = new Derived();
        l.methodOne();
    }
    public class Base
    {
        public void methodOne()
        {
            System.out.print("A");
            methodTwo();
        }

        public void methodTwo()
        {
            System.out.print("B");
        }
    }

    public class Derived extends Base
    {
        public void methodOne()
        {
            super.methodOne();
            System.out.print("C");
        }

        public void methodTwo()
        {
            super.methodTwo();
            System.out.print("D");
        }
    }

}
